/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package myBeans;

import java.util.Date;
import java.util.List;
import modelo.Aviso;
import modelo.Contacto;


/**
 *
 * @author inftel
 */
public class AvisoBeans {
    private Aviso aviso;
    List<Contacto> contactos;
    String cadenaHoraAviso;
    String cadenaHoraAtencion;

    public Aviso getAviso() {
        return aviso;
    }

    public void setAviso(Aviso aviso) {
        this.aviso = aviso;
    }

    public List<Contacto> getContactos() {
        return contactos;
    }

    public void setContactos(List<Contacto> contactos) {
        this.contactos = contactos;
    }
    
    public void setHoraAtencion() {
        aviso.setHoraAtencion(new Date());
    }

    public String getCadenaHoraAtencion() {
        return cadenaHoraAtencion;
    }

    public void setCadenaHoraAtencion(String cadenaHoraAtencion) {
        this.cadenaHoraAtencion = cadenaHoraAtencion;
    }

    public String getCadenaHoraAviso() {
        return cadenaHoraAviso;
    }

    public void setCadenaHoraAviso(String cadenaHoraAviso) {
        this.cadenaHoraAviso = cadenaHoraAviso;
    }
}
